<!DOCTYPE html>
<html lang="en">
<head>
    <title>{$post_title} {$site_name} </title>
    <meta name="keywords" content="{$post_keywords}" />
    <meta name="description" content="{$post_excerpt}">
    <meta name="author" content="成都千峰云科技有限公司">
    <tc_include file="Public:head" />
    <!--common-->
    <link rel="stylesheet" href="__TMPL__Public/css/common-m.css">
    <link href="__PUBLIC__/TciocEx/css/style-responsive.css" rel="stylesheet">
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="__PUBLIC__/TciocEx/js/html5shiv.js"></script>
    <script src="__PUBLIC__/TciocEx/js/respond.min.js"></script>
    <![endif]-->
    <!-- Placed js at the end of the document so the pages load faster -->
    <script src="__PUBLIC__/TciocEx/js/jquery-1.10.2.min.js"></script>
    <script src="__PUBLIC__/TciocEx/js/bootstrap.min.js"></script>
    <!-- 必须引入的文件 -->
    <link rel="stylesheet" href="__PUBLIC__/js/nprogress/nprogress.css">
    <script src="__PUBLIC__/js/jquery.pjax/jquery.pjax.js"></script>
    <script src="__PUBLIC__/js/nprogress/nprogress.js"></script>
    <style>
        .news_content{
            padding:0 0 100px 0;
            overflow: hidden;
        }
        .news_content .title{ text-align: left;margin:  0  auto}
        .news_content .title .p1{font-size: 1.875rem;color: #000;line-height: 2.8rem;}
        .news_content .title .p2{font-size: 1.4rem;color: #999999;line-height: 1.8rem;}
        .news_content .article{  }
        .news_content .article img{ width: 80%;margin: 20px 10%;}
        @media (min-width: 310px) and (max-width: 360px) {
            .list{ padding: 14px 0;}
            .news_content .title .p1{ font-size: 1.5rem; line-height: 2rem;}
            .news_content .title .p2{ font-size: 1rem;line-height: 1.5rem;}
            .list_img{ padding-top: 16px }
        }
    </style>
</head>
<body style=" font-size: 62.5%;">
<tc_include file="Public:nav" />
<php>
    $term_id=$_GET['cid'];
    $term=sp_get_term($term_id );//获取当前子分类信息
    $path=preg_split("/-|and/", $term['path']);
    $one_term=sp_get_term($path[1] );
</php>
    <div class="news_content" style="width: 94.66%;margin: 0 auto;">
        <div class="title">
            <p class="p1">{$post_title}</p>
            <p class="p2">发布日期：<php>echo date('Y-m-d ',strtotime($post_modified));</php>   </p>
        </div>
        <div class="article">
            {$post_content}
        </div>
    </div>
<tc_include file="Public:footer" />

</body>
</html>
<!--导航-->
<script>
    function opennav(obj){
        $('.nav_open').css("display",'none');
        $('.nav_close').css("display",'block');
        $('.navigation').css("display",'block');
    }
    function closenav(){
        $('.nav_open').css("display",'block');
        $('.nav_close').css("display",'none');
        $('.navigation').css("display",'none');
    }
    $(document).ready(function(){
        /*获取屏幕的高度*/
        var ow = $(window).height()
        var oh = ow-120;
        $(".navigation").css("height",oh);
    });
</script>